build

Builds the ConfigAction with the provided runnable as the on-click event

Return

ConfigAction

Author

fzzyhmstrs

Since

0.5.0

Parameters

action

Runnable - event to run when the button is clicked


fun build(clickEvent: ClickEvent): ConfigAction

Builds the ConfigAction with the supplied ClickEvent as the on-click event

Return

ConfigAction

Author

fzzyhmstrs

Since

0.5.0

Parameters

clickEvent

ClickEvent - event to run when the button is clicked